<link rel="stylesheet" href="__STATIC__/admin/css/welcome.css?v={:time()}" media="all">
<div class="layuimini-container">
    <div class="layuimini-main">
        <div class="layui-row layui-col-space15">
            <div class="layui-col-md12">
                <div class="layui-row layui-col-space15">
                    <div class="layui-col-md6">
                        <div class="layui-card">
                            <div class="layui-card-header"><i class="fa fa-warning icon"></i>数据统计</div>
                            <div class="layui-card-body">
                                <div class="welcome-module">
                                    <div class="layui-row layui-col-space10">
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-blue">实时</span>
                                                        <h5>用户统计</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">{$count_data.user_count|default='0'}</h1>
                                                        <small>系统用户数量</small>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-cyan">实时</span>
                                                        <h5>店铺统计</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">{$count_data.store_count|default='0'}</h1>
                                                        <small>店铺数量</small>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-orange">实时</span>
                                                        <h5>消费券统计</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">￥{$count_data.cashcard_count|default='0'}</h1>
                                                        <small>累计使用消费券金额</small>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                        <div class="layui-col-xs6">
                                            <div class="panel layui-bg-number">
                                                <div class="panel-body">
                                                    <div class="panel-title">
                                                        <span class="label pull-right layui-bg-green">实时</span>
                                                        <h5>订单统计</h5>
                                                    </div>
                                                    <div class="panel-content">
                                                        <h1 class="no-margins">{$count_data.order_count|default='0'}</h1>
                                                        <small>总订单数量</small>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="layui-col-md6">
                        <div class="layui-card">
                            <div class="layui-card-header"><i class="fa fa-credit-card icon icon-blue"></i>快捷入口</div>
                            <div class="layui-card-body">
                                <div class="welcome-module">
                                    <div class="layui-row layui-col-space10 layuimini-qiuck">

                                        {foreach $quicks as $vo}
                                        <div class="layui-col-xs3 layuimini-qiuck-module">
                                            <a layuimini-content-href="{:url($vo['href'])}" data-title="{$vo['title']}">
                                                <i class="{$vo['icon']|raw}"></i>
                                                <cite>{$vo['title']}</cite>
                                            </a>
                                        </div>
                                        {/foreach}

                                    </div>
                                </div>
                            </div>
                        </div>

                    </div>
                    <div class="layui-col-md12">
                        <div class="layui-card">
                            <div class="layui-card-header"><i class="fa fa-line-chart icon"></i>报表统计</div>
                            <div class="layui-card-body">
                                <script>
                                    let text_title = "{$echarts_data.text_title}";
                                    let line_title = {:json_encode($echarts_data['line_title'])};
                                    let x_line_data = {:json_encode($echarts_data['x_line_data'])};
                                    let y_line_data = {:json_encode($echarts_data['y_line_data'])};
                                    let line_color = {:json_encode($echarts_data['line_color'])};
                                    // console.log(text_title,line_title,x_line_data,y_line_data);
                                </script>
                                <div id="echarts-records" style="width: 100%;min-height:500px"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

<!--            <div class="layui-col-md4">-->

<!--                <div class="layui-card">-->
<!--                    <div class="layui-card-header"><i class="fa fa-bullhorn icon icon-tip"></i>系统公告</div>-->
<!--                    <div class="layui-card-body layui-text">-->
<!--                        <div class="layuimini-notice">-->
<!--                            <div class="layuimini-notice-title">修复多模块菜单栏展开问题</div>-->
<!--                            <div class="layuimini-notice-extra">2020-10-23 10:53</div>-->
<!--                            <div class="layuimini-notice-content layui-hide">-->
<!--                                界面足够简洁清爽。<br>-->
<!--                                一个接口几行代码而已直接初始化整个框架，无需复杂操作。<br>-->
<!--                                支持多tab，可以打开多窗口。<br>-->
<!--                                支持无限级菜单和对font-awesome图标库的完美支持。<br>-->
<!--                                失效以及报错菜单无法直接打开，并给出弹出层提示完美的线上用户体验。<br>-->
<!--                                url地址hash定位，可以清楚看到当前tab的地址信息。<br>-->
<!--                                刷新页面会保留当前的窗口，并且会定位当前窗口对应左侧菜单栏。<br>-->
<!--                                移动端的友好支持。<br>-->
<!--                            </div>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->

<!--                <div class="layui-card">-->
<!--                    <div class="layui-card-header"><i class="fa fa-fire icon"></i>版本信息</div>-->
<!--                    <div class="layui-card-body layui-text">-->
<!--                        <table class="layui-table">-->
<!--                            <colgroup>-->
<!--                                <col width="100">-->
<!--                                <col>-->
<!--                            </colgroup>-->
<!--                            <tbody>-->
<!--                            <tr>-->
<!--                                <td>系统名称</td>-->
<!--                                <td>-->
<!--                                    {:sysconfig('site','site_name')}-->
<!--                                </td>-->
<!--                            </tr>-->
<!--                            <tr>-->
<!--                                <td>当前版本</td>-->
<!--                                <td>v1.0.0</td>-->
<!--                            </tr>-->
<!--&lt;!&ndash;                            <tr>&ndash;&gt;-->
<!--&lt;!&ndash;                                <td>主要特色</td>&ndash;&gt;-->
<!--&lt;!&ndash;                                <td>零门槛 / 响应式 / 清爽 / 极简</td>&ndash;&gt;-->
<!--&lt;!&ndash;                            </tr>&ndash;&gt;-->
<!--&lt;!&ndash;                            <tr>&ndash;&gt;-->
<!--&lt;!&ndash;                                <td>Gitee</td>&ndash;&gt;-->
<!--&lt;!&ndash;                                <td style="padding-bottom: 0;">&ndash;&gt;-->
<!--&lt;!&ndash;                                    <div class="layui-btn-container">&ndash;&gt;-->
<!--&lt;!&ndash;                                        <a href="https://gitee.com/zhongshaofa/easyadmin" style="margin-right: 15px"><img src="https://gitee.com/zhongshaofa/easyadmin/badge/star.svg?theme=dark" alt="star"></a>&ndash;&gt;-->
<!--&lt;!&ndash;                                        <a href="https://gitee.com/zhongshaofa/easyadmin"><img src="https://gitee.com/zhongshaofa/easyadmin/badge/fork.svg?theme=dark" alt="fork"></a>&ndash;&gt;-->
<!--&lt;!&ndash;                                    </div>&ndash;&gt;-->
<!--&lt;!&ndash;                                </td>&ndash;&gt;-->
<!--&lt;!&ndash;                            </tr>&ndash;&gt;-->
<!--&lt;!&ndash;                            <tr>&ndash;&gt;-->
<!--&lt;!&ndash;                                <td>Github</td>&ndash;&gt;-->
<!--&lt;!&ndash;                                <td style="padding-bottom: 0;">&ndash;&gt;-->
<!--&lt;!&ndash;                                    <div class="layui-btn-container">&ndash;&gt;-->
<!--&lt;!&ndash;                                        <iframe src="https://ghbtns.com/github-btn.html?user=zhongshaofa&repo=easyadmin&type=star&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>&ndash;&gt;-->
<!--&lt;!&ndash;                                        <iframe src="https://ghbtns.com/github-btn.html?user=zhongshaofa&repo=easyadmin&type=fork&count=true" frameborder="0" scrolling="0" width="100px" height="20px"></iframe>&ndash;&gt;-->
<!--&lt;!&ndash;                                    </div>&ndash;&gt;-->
<!--&lt;!&ndash;                                </td>&ndash;&gt;-->
<!--&lt;!&ndash;                            </tr>&ndash;&gt;-->
<!--                            </tbody>-->
<!--                        </table>-->
<!--                    </div>-->
<!--                </div>-->

<!--                <div class="layui-card">-->
<!--                    <div class="layui-card-header"><i class="fa fa-paper-plane-o icon"></i>作者<span class="layui-hide">FashionJune</span>心语</div>-->
<!--                    <div class="layui-card-body layui-text layadmin-text">-->
<!--                        <p>本系统由郑州智众科技有限公司开发&nbsp;&nbsp;&nbsp;<a class="layui-btn layui-btn-xs layui-btn-danger" target="_blank" href="http://www.zzmind.com">&gt;&gt;访问我们&lt;&lt;</a></p>-->
<!--                        <p class="layui-red">备注：此系统仅供使用，请勿进行二次开发出售或者上传，否则将追究相应责任。</p>-->
<!--                    </div>-->
<!--                </div>-->

<!--            </div>-->
        </div>
    </div>
</div>